package com.test.task.dao;

import com.test.task.beans.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @DATE 2021/6/21 - 16:39
 */
@Mapper
public interface AdminDao {
    public Integer insertStaff(User user);

    List<User> selectAllStaff();

    User selectStaffByUsername(String username);

    Integer deleteStaffByUsername(String username);

    List<User> selectNotAllocatedStaff();

    List<User> selectAllManager();

    Integer allocatedDeptByUsername(User user);
}
